ffdc66721d0785a2ae0e25aa2266f26312f34a6c,src/org/jgroups/stack/IpAddress.java,IpAddress,readExternal,#ObjectInput#,223
Before Change
//in theory readFully(byte[]) should be faster
//than read(byte[]) since latter reads
// 4 bytes one at a time
in.readFully(a);
//then read the port
port = in.readInt();
//look up an instance in the cache
After Change
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
int len=in.readByte();
if(len > 0) {
//read the four bytes
byte[] a = new byte[len];
//in theory readFully(byte[]) should be faster
//than read(byte[]) since latter reads
// 4 bytes one at a time
in.readFully(a);
//look up an instance in the cache
this.ip_addr=InetAddress.getByAddress(a);
}